﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FrameworkLib.Utilities.CustomTypeDescriptor
{
    public class PropertyDecorator
    {
        private DynamicCustomTypeDescriptor m_dctd = null;

        public DynamicCustomTypeDescriptor DynamicCustomTypeDescriptor
        {
            get { return m_dctd; }
            set { m_dctd = value; }
        }

        public PropertyDecorator(object classToInspect)
        {
            m_dctd = ProviderInstaller.Install(classToInspect);
        }
    }
}
